package io.renren.modules.information.service;

import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;
import io.renren.modules.information.entity.InformationEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface InformationService {

    PageUtils getList(Map<String, Object> params);

    R getPage(Map<String, Object> params);

    R getLineChart(String deviceId);

    PageUtils getDataList(Map<String, Object> params);

    R addReport(Integer spaceId, String startTime, String endTime);

    PageUtils getReportList(Map<String, Object> params);

    R deleteReport(Integer id);

    InformationEntity getReport(Integer id);

    PageUtils getEnvironmentList(Map<String, Object> params);

    Map<String, String> getEnvironmentIndex();
}
